//
// Created by glt on 2025/9/28.
//
// b.cc
#include <iostream>
#include "config.h"

void PrintGreeting() {
    auto& config = Config::Instance();

    if (config.verbose()) {
        std::cout << "[INFO] Verbose mode enabled." << std::endl;
    }

    for (int i = 0; i < config.count(); ++i) {
        std::cout << "Hello, " << config.name() << "!" << std::endl;
    }


    std::cout << "Hello, a from moduleA:" << config.module_a().a << "!" << std::endl;
}